package cn.hsw.manage.permission.vo;

import cn.hsw.component.web.validated.annotations.MustIn;
import cn.hsw.component.web.validated.annotations.MustOnly;
import cn.hsw.manage.constant.ManageConstant;
import cn.hsw.manage.permission.entity.Permission;
import cn.hsw.manage.permission.service.PermissionService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 权限传输对象，作用于接口接收值
 * @author 李子木
 * @date 2020-11-04
 */
@Data
public class PermissionTreeVO extends Permission {

    @ApiModelProperty("下级列表")
    List<PermissionTreeVO> child;
}
